package com.carleasoft.mps.adu;

import com.carleasoft.mps.data.mybatisplus.annotation.EnableMybatisPlusExtension;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

import java.text.ParseException;
import java.time.LocalDate;
import java.time.Year;
import java.time.format.DateTimeFormatter;
import java.time.temporal.ChronoUnit;

/**
 * Created by ztm on 2019/8/13.
 */
//@EnableCarleaSoftSwagger
@EnableDiscoveryClient
@EnableConfigurationProperties
@EnableFeignClients(basePackages = {"com.carleasoft.mps.adu.common.feign", "com.carleasoft.mps.security.permission.feign"})
@SpringBootApplication(scanBasePackages = {"com.carleasoft.mps"})
@MapperScan(value = {"com.carleasoft.mps.adu.business.**.*dao"})
@EnableMybatisPlusExtension
public class ADUApplication {
        public static void main(String[] args) throws ParseException {
        SpringApplication.run(ADUApplication.class, args);
    }

}
